﻿namespace PreGUI.Attributes
{
    using System;

    [AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
    sealed class WindowResourceAttribute : Attribute
    {
        readonly string _windowResourceName;

        // This is a positional argument
        public WindowResourceAttribute(string windowResourceName)
        {
            this._windowResourceName = windowResourceName;
        }

        public string WindowResourceName
        {
            get { return _windowResourceName; }
        }
    }
}
